<template>
  <div>
    <uni-forms :label-width="120" class="form" label-width="200">
      <uni-title :title="parseTime(report.createTime,'{y}-{m}-{d}')" type="h1"></uni-title>
      <uni-row >
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="侵染换料数量 : " required>
            <uni-title :title="report.qrChange/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="育种换料数量 : " required>
            <uni-title :title="report.qrChange/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="僵虫数量 : " required>
            <uni-title :title="report.stiffNum/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="蛹虫数量 : " required>
            <uni-title :title="report.pupaNum/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="死亡数量 : " required>
            <uni-title :title="report.deathNum/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="一次灭活 : " required>
            <uni-title :title="report.onceKill/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="单盘灭活量 : " required>
            <uni-title :title="report.ordinaryKill/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="整批灭活量 : " required>
            <uni-title :title="report.allKill/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="跨车间转虫 : " required>
            <uni-title :title="report.changeDeptNum/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="特殊转虫 : " required>
            <uni-title :title="report.specialChange/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="侵染进虫量 : " required>
            <uni-title :title="report.qrInput/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="育种进虫量 : " required>
            <uni-title :title="report.yzInput/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="隔离幼虫量 : " required>
            <uni-title :title="report.glNum/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="捡红虫量 : " required>
            <uni-title :title="report.redBug/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
        <uni-col :xs="24" :sm="12">
          <uni-forms-item label-align="right" label="剩余数量 : " required>
            <uni-title :title="report.residue/ 10000 + ''"></uni-title>
          </uni-forms-item>
        </uni-col>
      </uni-row>
    </uni-forms>
  </div>
</template>

<script setup lang="ts">

import {ReportFormHandle} from "../../pagesVM/report";
import {parseTime} from "../../util/auth";
import UniEasyinput from "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue";
import UniForms from "../../uni_modules/uni-forms/components/uni-forms/uni-forms.vue";
import UniTitle from "../../uni_modules/uni-title/components/uni-title/uni-title.vue";

const {report} = ReportFormHandle()

</script>

<style scoped>
.form{
  width: 80%;
  font-size: 50px;
  margin: 30px auto 0 auto
}
</style>
